package com.biz.primus.ms.sms.service.checker;

import com.biz.primus.model.misc.exception.ApiException;
import com.biz.primus.model.misc.vo.ChannelBasedAuth;
import org.springframework.core.Ordered;

/**
 * @author yanweijin
 * @date 2017/5/31
 */
public interface SendChecker extends Ordered {

	void check(ChannelBasedAuth cba) throws ApiException;

	void afterException(ChannelBasedAuth sm, Exception e);
}
